home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / tregion.6 < prev    next >
Text File  |  1996-07-16  |  1KB  |  31 lines

  1. .TH TREGION
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. TREGION
  5.  
  6.  
  7.  
  8.  TrivarType TREGION( TrivarType Srf, ConstantType Direction,
  9.                      NumericType MinParam, NumericType MaxParam )
  10.  
  11. Extracts a region of TV between MinParam and MaxParam
  12. in the specified Direction. Both MinParam and MaxParam
  13. should be contained in the parametric domain of TV in Direction.
  14.  
  15. Example:
  16.  
  17.     Tv1 = tbezier( list( list( list( ctlpt( E3, 0.1, 0.0, 0.8 ),
  18.                                      ctlpt( E3, 0.2, 0.1, 2.4 ) ),
  19.                                list( ctlpt( E3, 0.3, 2.2, 0.2 ),
  20.                                      ctlpt( E3, 0.4, 2.3, 2.0 ) ) ),
  21.                          list( list( ctlpt( E3, 2.4, 0.8, 0.1 ),
  22.                                      ctlpt( E3, 2.2, 0.7, 2.3 ) ),
  23.                                list( ctlpt( E3, 2.3, 2.6, 0.5 ),
  24.                                      ctlpt( E3, 2.1, 2.5, 2.7) ) ) ) );
  25.  
  26.     Tv1r1 = TREGION( Tv1, row, 0.1, 0.2 );
  27.     Tv1r2 = TREGION( Tv1, row, 0.4, 0.6 );
  28.     Tv1r3 = TREGION( Tv1, row, 0.99, 1.0 );
  29.  
  30. extracts three regions of Tv1 along the ROW direction.
  31.